<include file='Common:header' />

<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">

    <!-- #section:basics/sidebar -->

    <include file='Common:left' />
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">


                <div class="page-header">
                    <h1>
                        您当前操作
                        <small>
                            <i class="ace-icon fa fa-angle-double-right"></i>
                            查看报表
                        </small>
                    </h1>
                </div>



                <div class="row">
                    <div class="col-xs-12">
                        <div>

                            <form id="leftnav" name="leftnav" method="post" action="" >

                                <div class="form-group">
                                    <h2 style="text-align: center">{$info.title}({$info.code}表)</h2>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">

                                    <label style="margin-left: 10px; float: right;margin-right: 60px;">有效期至：{$info.endtime|date="y-m-d",###}</label>
                                </div>
                                <div class="space-4"></div>

                                <div class="form-group">

                                    <label style="margin-left: 10px;">填报单位：{$u_name}</label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <label style="margin-left: 10px;">年份：{$info.year} 年</label>
                                </div>
                                <div class="space-4"></div>

                                <input type="hidden" name="tableid" id="tableid" value="{$info.id}" /><!--用于判断操作类型-->
                                <table width="100%" class="table table-striped table-bordered table-hover" id="dynamic-table">
                                    <thead>
                                    <tr>
                                        <th style="text-align: center;" width="30%">指标名称</th>
                                        <th style="text-align: center;" width="20%">计量单位</th>
                                        <th style="text-align: center;" width="10%">代码</th>
                                        <th style="text-align: center;" width="20%">上年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度</th>
                                        <th style="text-align: center;" width="20%">本年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度</th>
                                    </tr>
                                    <tr>
                                        <td style="text-align: center;">甲</td>
                                        <td style="text-align: center;">乙</td>
                                        <td style="text-align: center;">丙</td>
                                        <td style="text-align: center;">1</td>
                                        <td style="text-align: center;">2</td>
                                    </tr>
                                    </thead>

                                    <tbody>

                                    <foreach name="res" item="v">
                                        <tr>
                                            <td height="28" >{$v.name}</td>
                                            <td>{$v.metering}</td>
                                            <td>{$v.code}</td>
                                            <td>{$v.last}</td>
                                            <td>{$v.now}</td>
                                        </tr>
                                    </foreach>
                                    <!--<tr>
                                        <td height="50" colspan="10" align="left">{$show}</td>
                                    </tr>-->
                                    </tbody>
                                </table>
                            </form>

                            <div class="form-group">

                                <label style="margin-left: 10px;">补充说明:{$info.remark}</label>
                            </div>
                            <div class="space-4"></div>

                            <div class="form-group">

                                <label style="margin-left: 10px;">单位负责人：{$info.fz}</label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <label style="margin-left: 10px;">联系人：{$info.lx}</label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <label style="margin-left: 10px;">填报人：{$info.tb}</label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <label style="margin-left: 10px;">报出日期：{$info.add_time|date="Y-m-d H:i:s",###}</label>
                            </div>
                            <div class="space-4"></div>
                        </div>
                    </div>
                </div>

                <include file='Common:header_nav' />

            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->


    <script>



    </script>
    <include file='Common:footer' />

</div><!-- /.main-container -->
</body>
</html>
